//
//  GetSubscribeDetail.h
//  EMMApp
//
//  Created by YangLiang on 16/5/26.
//  Copyright © 2016年 YiXun. All rights reserved.
//

#import "EMMAppBaseModel.h"
#import "CustomerFamilyList.h"
#import "DealCategoryList.h"
#import "ImageList.h"
#import "AnnexList.h"

@protocol CustomerFamilyList
@end

@protocol DealCategoryList
@end

@protocol ImageList
@end

@protocol AnnexList
@end

@interface GetSubscribeDetail : EMMAppBaseModel

@property (nonatomic, strong) NSString<Optional> *customerName;     //客户名称
@property (nonatomic, strong) NSString<Optional> *customerStar;     //星标
@property (nonatomic, strong) NSString<Optional> *customerSex;      //客户性别
@property (nonatomic, strong) NSString<Optional> *customerPhone;        //联系电话
@property (nonatomic, strong) NSString<Optional> *intentionLevel;       //意向等级
@property (nonatomic, strong) NSString<Optional> *customerOrigin;       //客户来源
@property (nonatomic, strong) NSString<Optional> *customerStatus;       ///客户状态

@property (nonatomic, strong) NSString<Optional> *payDepositId;         //	认筹ID
@property (nonatomic, strong) NSString<Optional> *payDepositCode;       //	认筹编号
@property (nonatomic, strong) NSString<Optional> *payDepositMoney;      //	认筹金
@property (nonatomic, strong) NSString<Optional> *subscribeHouses;      //	认购房源
@property (nonatomic, strong) NSString<Optional> *roomId;               //房源id
@property (nonatomic, strong) NSString<Optional> *calculateArea;        //	计价面积
@property (nonatomic, strong) NSString<Optional> *discountPrice;        //折前单价
@property (nonatomic, strong) NSString<Optional> *discountTotalPrice;   //	折前总价
@property (nonatomic, strong) NSString<Optional> *discountAmount;       //	折扣金额
@property (nonatomic, strong) NSString<Optional> *discountRate;         //	折扣比例 系统比例
@property (nonatomic, strong) NSString<Optional> *addDiscountRate;      //新折扣比例自己的
@property (nonatomic, strong) NSString<Optional> *discountNote;         //	折扣说明房源比例
@property (nonatomic, strong) NSString<Optional> *totalDiscount;        //	总折扣
@property (nonatomic, strong) NSString<Optional> *preferentialReasons;        //	优惠原因

@property (nonatomic, strong) NSString<Optional> *contractPrice;        //	签约单价
@property (nonatomic, strong) NSString<Optional> *contractAmount;       //	合同金额
@property (nonatomic, strong) NSString<Optional> *depositReceivable;    //	应收定金
@property (nonatomic, strong) NSString<Optional> *dueTime;              //	认购转合同到期时间
@property (nonatomic, strong) NSString<Optional> *paymentMethod	;       //付款方式
@property (nonatomic, strong) NSString<Optional> *dealCategory;         //	成交类别
@property (nonatomic, strong) NSString<Optional> *agentId;              //	经纪人
@property (nonatomic, strong) NSString<Optional> *subscribeDate;        //	认购日期
@property (nonatomic, strong) NSString<Optional> *remark;               //	备注
@property (nonatomic, strong) NSString<Optional> *subscribeId;          //	认购Id
@property (nonatomic, strong) NSString<Optional> *subscribeCode;        //	认购编号
@property (nonatomic, strong) NSString<Optional> *auditStatus;          //	审核状态
@property (nonatomic, strong) NSString<Optional> *auditReason;          //	理由
@property (nonatomic, strong) NSString<Optional> *auditId;              //	审核人
@property (nonatomic, strong) NSString<Optional> *auditTime;            //	审核时间
@property (nonatomic,strong) NSMutableArray<Optional,DealCategoryList> *dealCategoryList;   //经纪人数组

@property (nonatomic,strong) NSMutableArray<Optional,CustomerFamilyList> *customerFamilyList;
@property (nonatomic, strong) NSString<Optional> *memberName;           //客户姓名
@property (nonatomic, strong) NSString<Optional> *documentType;         //证件类型
@property (nonatomic, strong) NSString<Optional> *documentNumber;       //证件号码
@property (nonatomic, strong) NSString<Optional> *mobile;               //手机号
@property (nonatomic, strong) NSString<Optional> *mailPost;             //邮寄地址
@property (nonatomic, strong) NSString<Optional> *postcode;             //邮编
@property (nonatomic, strong) NSString<Optional> *businessStatus;       //业务状态
@property (nonatomic, strong) NSString<Optional> *discountApproval;         //是否折扣审批
@property (nonatomic, strong) NSString<Optional> *discountApprovalStatus;       //折扣审批状态
@property (nonatomic, strong) NSString<Optional> *discountApprovalPeople;       //折扣审批人
@property (nonatomic, strong) NSString<Optional> *discountApprovalTime;         //折扣审批时间
@property (nonatomic, strong) NSString<Optional> *subRoomType;//认购房源类型： 默认返回 0
@property (nonatomic, strong) NSString<Optional> *subRoomeMsg;//认购房源消息

@property (nonatomic, strong) NSString<Optional> *realAmount;       //认筹转认购金额
@property (nonatomic, strong) NSString<Optional> *floorType;        //方案类别
@property (nonatomic, strong) NSString<Optional> *discountAfterAmount;      //折后金额
@property (nonatomic, strong) NSString<Optional> *busReturnType;
//业务返回类型	String(1)	业务返回类型：1 认筹； 2 认购	N
@property (nonatomic, strong) NSString<Optional> *enough;	//是否已收满认筹金 0 未收满 1 已收满

@property (nonatomic, strong) NSString<Optional> *referenceName;//推荐人名称
@property (nonatomic, strong) NSString<Optional> *referenceProportion;//推荐人比例

@property (nonatomic,strong) NSMutableArray<Optional,ImageList> *imageList;//合同扫描件
@property (nonatomic,strong) NSMutableArray<Optional,AnnexList> *annexList;//附件名称列表
@property (nonatomic, strong) NSString<Optional> *annexNum;//附件名称
@end
